package com.eastfair.pay.enums;

/**
 * 交易订单 状态
 * @author Du Xiaobo
 * @date 2023/6/29 13:43
 */
public enum OrderStateEnum {
    IN_PROGRESS(0,"进行中"),
    COMPLETED(1,"已完成"),
    CANCELED(2,"已取消"),
    ;
    private Integer code;

    private String text;

    OrderStateEnum(Integer code, String text) {
        this.code = code;
        this.text = text;
    }

    public Integer getCode() {
        return code;
    }

    public String getText() {
        return text;
    }
}
